#ifndef HOOKCONNECTIVITY_H
#define HOOKCONNECTIVITY_H
#include "hookentry.h"

class HookConnectivity:public HookEntry
{
public:
    static HookConnectivity * GetInstance()
    {
        if(m_pInstance == NULL)
        {
            m_pInstance = new HookConnectivity();
        }
        return m_pInstance;
    }

    void hook();
private:
    HookConnectivity();
    HookConnectivity(const HookConnectivity &);
    HookConnectivity & operator = (const HookConnectivity &);

    static HookConnectivity *m_pInstance;
    bool hooked;
};

#endif // HOOKCONNECTIVITY_H
